package natappvip.liujinliang.common;

/**
 * @ClassName:  ResponseCode   
 * @Despt: 返回码 
 * @Auth: Liujinliang 
 * @Date: 2018年7月24日 下午10:33:08
 */
public enum ResponseCode {

	SUCCESS(0, "SUCCESS"),
	ERROR(1, "ERROR");
	
	private final int code;
	private final String msg;
	
	/**
	 * @Title:  ResponseCode   
	 * @Despt:  构造函数   
	 * @param:  @param code
	 * @param:  @param msg  
	 * @throws
	 */
	private ResponseCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	public int getCode() {
		return code;
	}
	public String getMsg() {
		return msg;
	}
	
	
}
